package com.example.zhanghao.statepattern.statepattern.OrderDemo;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;

/**
 * @Author by KoVaVo
 * @Date 2021-08-28 10:39
 * @Desc:
 */
@Data
@Getter
@Setter
public class Order {
    private int id;

    private OrderStatusEnum orderStatus;

    @Override
    public String toString() {
        return "订单：" + id + ",订单状态" + orderStatus;
    }
}
